package com.yao.component.circle;

import com.yao.component.circle.dataobject.Message;
import com.yao.component.circle.dataobject.Post;
import com.yao.component.circle.dataobject.CircleProfile;
import com.yao.sdk.net.ResponseInfo;

import java.util.List;

/**
 * Created by Administrator on 2015/10/26.
 */
public interface CircleDataSource {

    CircleProfile getProfile();

    void requestPublishMessage(Message toBePublishedMessage);

    List<Post> getCachedPost();

    void requestGetPost();

    void requestDeleteMessage(String messageId);

    void requestDeletePost(String postId);

}
